// 12/04/2009 Dennis
class Album
{
  String name;
  Artist artist;
  HashMap tracks;
  
  public Album(String name, Artist artist)
  {
    this.name = name;
    this.artist = artist;
    tracks = new HashMap();
  }
  
  public void addTrack(Track track)
  {
    if(!tracks.containsKey(track.name))
      tracks.put(track.name, track);
  }
}
